package com.gilight.base.wechart.http;

import com.gilight.base.wechart.model.CodeSession;
import com.gilight.base.wechart.model.MapAddr;
import io.swagger.models.auth.In;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface IMap {
    /**
     * 经度转地址
     * @param location
     * @param key
     * @param get_poi
     * @return
     */
    @GET("/ws/geocoder/v1/")
    Call<MapAddr> fGeo(@Query("location") String location
            , @Query("key")String key
            , @Query("get_poi") Integer get_poi);
    @GET("/ws/geocoder/v1/")
    Call<MapAddr> zGeo(@Query("address") String address
            , @Query("key")String key);
}
